package com.korion.lame;

/**
 * @author chenyinying
 * @date 6/24/21
 */
public class Mp3Encoder {

    static {
        System.loadLibrary("mp3lame_util");
    }

    public static native int init(String pcmFilePath, int audioChannels, int bitDepth, int sampleRate, String mp3FilePath);

    public static native int encode();

    public static native void destroy();
}
